package com.wanyang.dao;

import com.wanyang.vo.SubCommentVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PostCommentDao {
    List<SubCommentVO> querySubCommentPageByGroup(@Param("postCommentIds") List<Integer> postCommentIds,
                                                  @Param("limit") Integer limit);

    List<SubCommentVO> querySubComment(Integer postCommentId);

    int updateSubCommentCount(@Param("postCommentId") Integer postCommentId, @Param("num") Integer num);

    int updateLikes(@Param("id") Integer id, @Param("num") Integer num);
}
